const express=require('express');
const router=express.Router();
const bodyParser=require('body-parser');
router.use(bodyParser.urlencoded({extended:false}));
router.get('/home',(req,res)=>{
    res.send('get home')
});
router.post('/home',(req,res)=>{
    res.send(req.body)
});
module.exports=router;